Frequently Asked Questions¶
- How do I work with per-request lifetime scope?
- How do I pick a service implementation by context?
- How do I create a session-based lifetime scope in a web application?
- Why aren’t my assemblies getting scanned after IIS restart?
- How do I conditionally register components?
- How do I share component registrations across application types?
- How do I keep Autofac references isolated away from my app?
- Why are “old versions” of the framework (e.g., System.Core 2.0.5.0) referenced?
- Why don’t all Autofac packages target the latest Autofac core?
- How do I inject configuration, environment, or context parameters?
- How do I pass a parameter to a component in the middle of a resolve chain?
- Why isn’t container registration analysis built in?
- Why are things in my Xamarin app misbehaving?